package org.zeapp.opencloud.framework.cloud;

import java.util.Date;

/**
 * A cloud entry specific to a file.
 * 
 * @author Amphiprion
 * 
 */
public class CloudFile extends CloudEntry {
	private long size;
	private Date lasModified;

	public CloudFile() {
		setFile(true);
	}

	/**
	 * @return the size
	 */
	public long getSize() {
		return size;
	}

	/**
	 * @param size
	 *            the size to set
	 */
	public void setSize(long size) {
		this.size = size;
	}

	/**
	 * @return the lasModified
	 */
	public Date getLasModified() {
		return lasModified;
	}

	/**
	 * @param lasModified
	 *            the lasModified to set
	 */
	public void setLasModified(Date lasModified) {
		this.lasModified = lasModified;
	}

}
